# coding: utf-8
for i in range(1, 10):
    for j in range(1, i+1):
        print('%dx%d=%d' % (j, i, j*i), end='\t')    #输出不换行并用制表符排序
        if i == j:  #相等了在换行
            print()